import { getRequest, postRequest } from "../utils/request.js" //引用request

// 活动列表
export const activityList = data => getRequest(`/competition_message`, data);

// 商家/广告赞助
export const sponsorship = data => postRequest(`/merchant_sponsorship`, data);

// 报名参赛
export const participatingModel = data => postRequest(`/participating_model`, data);

// 活动列表
export const participatingList = data => getRequest(`/participating_model`, data);

// 活动详情
export const participatingDetail = data => getRequest(`/participating_model/${data}`);

// 投票

export const vote = data => postRequest(`/participating_model/vote`, data);


